package com.wyk.project.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wyk.project.dao.entity.ShortLinkDO;
import com.wyk.project.dto.req.RecycleBinDeleteReqDTO;
import com.wyk.project.dto.req.RecycleBinRecoverReqDTO;
import com.wyk.project.dto.req.RecycleBinSaveReqDTO;
import com.wyk.project.dto.req.ShortLinkRecycleBinPageReqDTO;
import com.wyk.project.dto.resp.ShortLinkPageRespDTO;

/**
 *  回收站管理接口层
 */
public interface RecycleBinService extends IService<ShortLinkDO> {

    /**
     * 保存回收站
     * @param requestParam
     */
    void saveRecycle(RecycleBinSaveReqDTO requestParam);

    /**
     *
     * @param requestParam
     * @return
     */
    IPage<ShortLinkPageRespDTO> pageshortLink(ShortLinkRecycleBinPageReqDTO requestParam);

    /**
     * 回收站恢复短连接
     * @param requestParam
     */
    void recoverRecycleBin(RecycleBinRecoverReqDTO requestParam);

    /**
     * 移除回收站短连接
     * @param requestParam
     */
    void removeRecycleBin(RecycleBinDeleteReqDTO requestParam);
}
